export const getVipList = async () => {
	
	return await new Promise(function(resolve, reject) {
		
		uni.request({
			// method: 'POST',
			url: 'https://zm.quya.vip/api/v1/getVipList',
			success: (res) => {
				console.log(res)
				if (res.data.code == 200) {
					resolve(res.data.data)
				} else {
					uni.showToast({
						title: res.data.message || res.data.msg,
						icon: 'none'
					})
					reject(res.data)
				}
			}
		});
	});
	
}